package com.atguigu.repservice.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

public class OrderRequestVo {


    //1.订单查询对象
    @Data
    public static class OrderQueryVo {

        private String type;

        private String communities;//社区

        @ApiModelProperty(value = "订单状态", example = "0.全部\n" +
                "1.用户已提交，等待审核\n" +
                "2.审核通过，等待商家接单\n" +
                "3.商家已接单，等待商家服务\n" +
                "4.商家已服务，等待用户付款\n" +
                "5.用户已付款，订单完成\n" +
                "6.审核不通过")
        private String status;//订单状态
        private String shopName;//商家店名
        private String merchantMobile; //商家电话

        private String userName;//用户姓名
        private String userMobile;//用户手机号码

        private String subjectId; //二级行业id
        private String subjectParentId; //一级id

        @ApiModelProperty(value = "查询开始时间", example = "2019-01-01 10:10:10")
        private String beginTime;//注意，这里使用的是String类型，前端传过来的数据无需进行类型转换

        @ApiModelProperty(value = "查询结束时间", example = "2019-12-01 10:10:10")
        private String endTime;


    }
}
